<?php

/**
 * Region form.
 *
 * @package    auip
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class RegionForm extends BaseRegionForm
{
  public function configure()
  {
      $this->widgetSchema['pais_id'] = new sfWidgetFormDoctrineChoice(array('model' => $this->getRelatedModelName('Pais'), 'add_empty' => 'Seleccione un Pais', 'order_by' => array('nombre','asc'), 'label'=>'Pais donde pertenece'), array('class'=>'pais_region','id'=>'pais_reg'));
      $this->widgetSchema['nombre']  = new sfWidgetFormInputText(array('label'=>'Nombre region'), array('class'=>'nombre_region','id'=>'nombre_reg', 'size' => '17'));
  }
}
